package com.liliudong.cursormate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liliudong.cursormate.entity.SysPermission;

import java.util.List;

/**
 * @author Liudong.li
 * @description 针对表【sys_permission(系统权限表)】的数据库操作Service
 * @createDate 2023-10-24 22:29:24
 */
public interface SysPermissionService extends IService<SysPermission> {

    /**
     * 获取权限列表
     *
     * @param userId
     * @return {@link List}<{@link String}>
     */
    List<String> getPermissionList(Long userId);
}
